<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>上传测试</title>
</head>
<body>

<h2>单个文件上传测试</h2>
<form action="/cos/upload" method="post" enctype="multipart/form-data">
    <div>
        <input type="file" name="file" />
    </div>
    <div>
        <input type="submit" value="上传">
    </div>
</form>
<h2>批量文件上传测试</h2>
<form action="/cos/uploadBatch" method="post" enctype="multipart/form-data">
    <div>
        <input type="file" name="file" multiple />
    </div>
    <div>
        <input type="submit" value="上传">
    </div>
</form>

<img src="https://cd-huashan-1256312412.cos.ap-chengdu.myqcloud.com/upload/2018-09-05/28449e45-aecb-4bc7-a0f5-755a78e4e908.png" />
</body>
</html>